package com.wu.gumomallproduct.product.service.feign;

import com.wu.common.es.SkuEsModel;
import com.wu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimall-search")
public interface SearchFeignService {

    @PostMapping("/product/spuinfo/productStatusUp")
    R productStatusUp(@RequestBody List<SkuEsModel> collect);
}
